<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><title>Swing Designer Palette</title>
<link href="../../book.css" rel="stylesheet" type="text/css">

</head>

<body>

<table border="0" cellpadding="0" cellspacing="0" width="800">
  <tbody><tr>
    <td><h1>Swing Designer Palette</h1>
    <p><b>Swing Designer</b> provides the following palette for creating Swing 
	applications. </p>
	<p>The palette may be fully configured using the <b>
		<a href="../../../com.instantiations.designer.doc.user/html/userinterface/palette_manager.html">Palette Manager</a></b>.</p>
      <div align="left">
        <table border="0" cellpadding="0" cellspacing="0" width="100%">
          <tbody>
          <tr>
            <td valign="top">
      <img src="images/palette_swing_containers.gif" border="0">
            </td>
            <td valign="top" width="100%">
            <ul>
              <li><b>JPanel</b> - A generic lightweight container.</li>
              <li><b>JScrollPane</b>
- Provides a scrollable view of a lightweight component. A JScrollPane
manages a viewport, optional vertical and horizontal scroll bars, and
optional row and column heading viewports.</li>
              <li><b>JSplitPane</b>
- JSplitPane is used to divide two (and only two) Components. The two
Components are graphically divided based on the look and feel
implementation, and the two Components can then be interactively
resized by the user.</li>
              <li><b>JTabbedPane</b> - A component that lets the user switch between a group of components by clicking on a tab with a given title and/or icon.</li>
              <li><b>JToolBar</b> - A component that is useful for displaying commonly used Action's or controls.</li>
              <li><b>JDesktopPane</b> - A container used to create a multiple-document interface or a virtual desktop.</li>
              <li><b>JInternalFrame</b>
- A lightweight object that provides many of the features of a native
frame, including dragging, closing, becoming an icon, resizing, title
display, and support for a menu bar.</li>
            </ul>
            </td>
          </tr>
          <tr>
            <td colspan="2" valign="top">
      <hr color="#c0c0c0" size="1">
            </td>
          </tr>
			<tr>
            <td valign="top">
      <img src="images/palette_swing_layouts.gif" border="0">
            </td>
            <td valign="top" width="100%">
            <ul>
              <li><b><a href="../layoutmanagers/swing/absolutelayout.html">Absolute Layout</a></b> - A absolute layout displays components with specified bounds.</li>
              <li><b>
		<a href="../layoutmanagers/swing/flowlayout.html">FlowLayout</a></b>
- A flow layout arranges components in a left-to-right flow, much like
lines of text in a paragraph. Flow layouts are typically used to
arrange buttons in a panel. It will arrange buttons left to right until
no more buttons fit on the same line.</li>
              <li><b><a href="../layoutmanagers/swing/borderlayout.html">BorderLayout</a> </b>- A border layout lays out a container, arranging and resizing its
components to fit in five regions: north, south, east, west, and
center. Each region may contain no more than one component.</li>
              <li><b>
		<a href="../layoutmanagers/swing/gridlayout.html">GridLayout</a></b>
- The GridLayout class is a layout manager that lays out a container's
components in a rectangular grid. The container is divided into
equal-sized rectangles, and one component is placed in each rectangle.</li>
              <li><b><a href="../layoutmanagers/swing/gridbaglayout.html">GridBagLayout</a></b>
- The GridBagLayout class is a flexible layout manager that aligns
components vertically and horizontally, without requiring that the
components be of the same size. Each GridBagLayout object maintains a
dynamic, rectangular grid of cells, with each component occupying, one
or more cells.</li>
              <li><b>
		<a href="../layoutmanagers/swing/cardlayout.html">CardLayout</a></b>
- A CardLayout object is a layout manager for a container. It treats
each component in the container as a card. Only one card is visible at
a time, and the container acts as a stack of cards. The first component
added to a CardLayout object is the visible component when the
container is first displayed.</li>
              <li><b><a href="../layoutmanagers/swing/boxlayout.html">BoxLayout</a></b>
- A layout manager that allows multiple components to be laid out
either vertically or horizontally. The components will not wrap so, for
example, a vertical arrangement of components will stay vertically
arranged when the frame is resized.</li>
				<li><b><a href="../layoutmanagers/swing/jgoodies_formlayout.html">FormLayout</a></b> -
				JGoodies 
				FormLayout is a powerful, flexible and precise general 
				purpose layout manager. It aligns components vertically and 
				horizontally in a dynamic rectangular grid of cells, with each 
				component occupying one or more cells.</li>
              <li><b><a href="../layoutmanagers/swing/springlayout.html">SpringLayout</a></b> - A SpringLayout lays out the children of its associated container according to a set of constraints for each side.</li>
        <li><b><a href="swing_palette.html">GroupLayout</a></b> - GroupLayout mixes grid layout and free form 
		layout.</li>
            </ul>
            </td>
          </tr>
          <tr>
            <td colspan="2" valign="top">
      <hr color="#c0c0c0" size="1">
            </td>
          </tr>
          <tr>
            <td valign="top">
      <img src="images/palette_swing_struts_springs.gif" border="0">
            </td>
            <td valign="top" width="100%">
            <ul>
              <li><b>Horizontal Box</b> - Creates a panel that uses an implicit 
				horizontal <b><a href="../layoutmanagers/swing/boxlayout.html">
				BoxLayout</a></b>.</li>
              <li><b>Vertical Box</b> - Creates a panel that uses an implicit 
				vertical <b><a href="../layoutmanagers/swing/boxlayout.html">BoxLayout</a></b>.</li>
              <li><b>Horizontal strut</b> - Creates an invisible, fixed-width
                component .</li>
              <li><b>Vertical strut</b> - Creates an invisible, fixed-height
                component .</li>
              <li><b>Horizontal glue</b> - Creates a horizontal glue component .</li>
              <li><b>Vertical glue</b> - Creates a vertical glue component .</li>
              <li><b>Rigid area</b> - Creates an invisible component that's always the specified
                size .</li>
              <li><b>Glue</b> - Creates an invisible glue component .</li>
            </ul>
            </td>
          </tr>
          <tr>
            <td colspan="2" valign="top">
      <hr color="#c0c0c0" size="1">
            </td>
          </tr>
          <tr>
            <td valign="top">
      <img src="images/palette_swing_components.gif" border="0">
            </td>
            <td valign="top" width="100%">
			<ul>
              <li><b>JLabel</b>
- A display area for a short text string or an image, or both. A label
does not react to input events. As a result, it cannot get the keyboard
focus. A label can, however, display a keyboard alternative as a
convenience for a nearby component that has a keyboard alternative but
can't display it.</li>
              <li><b>JTextField</b> - A lightweight component that allows the editing of a single line of text.</li>
              <li><b>JComboBox</b>
- A component that combines a button or editable field and a drop-down
list. The user can select a value from the drop-down list, which
appears at the user's request. If you make the combo box editable, then
the combo box includes an editable field into which the user can type a
value.</li>
              <li><b>JButton</b> - An implementation of a "push" button.</li>
              <li><b>JCheckBox</b>
- An implementation of a check box -- an item that can be selected or
deselected, and which displays its state to the user. By convention,
any number of check boxes in a group can be selected.</li>
              <li><b>JRadioButton</b>
- An implementation of a radio button -- an item that can be selected
or deselected, and which displays its state to the user. Used with a
ButtonGroup object to create a group of buttons in which only one
button at a time can be selected.</li>
              <li><b>JToggleButton</b>
- An implementation of a two-state button -- an item that can be
selected or deselected, and which displays its state to the user.</li>
              <li><b>JTextArea</b> - A JTextArea is a multi-line area that displays plain text.&nbsp;</li>
              <li><b>JFormattedTextField</b> - A lightweight component that allows the editing of a single line of text using a predefined mask.</li>
              <li><b>JPasswordField</b>
- A lightweight component that allows the editing of a single line of
text where the view indicates something was typed, but does not show
the original characters.</li>
              <li><b>JTextPane</b> - A text component that can be marked up with attributes that are represented graphically.</li>
              <li><b>JEditorPane</b> - A text component to edit various kinds of content.</li>
              <li><b>JSpinner</b> - A lightweight component that allows the lets the user select a number or an object value from an ordered sequence.</li>
              <li><b>JList</b> - A component that allows the user to select one or more objects from a list.</li>
              <li><b>JTable</b> - The JTable is used to display and edit regular two-dimensional tables of cells.</li>
              <li><b>JTable on JScrollPane</b> - A JTable placed within a 
				JScrollPane.</li>
              <li><b>Table model column</b> - A JTable model column.</li>
              <li><b>JTree</b> - A control that displays a set of hierarchical data as an outline.</li>
              <li><b>JProgressBar</b>
- A component that, by default, displays an integer value within a
bounded interval. A progress bar typically communicates the progress of
some work by displaying its percentage of completion and possibly a
textual display of this percentage.</li>
              <li><b>JScrollBar</b> - An
implementation of a scrollbar. The user positions the knob in the
scrollbar to determine the contents of the viewing area. The program
typically adjusts the display so that the end of the scrollbar
represents the end of the displayable contents, or 100% of the contents.</li>
              <li><b>JSeparator</b> - A horizontal or vertical line used to separate other controls.</li>
              <li><b>JSlider</b>
- A component that lets the user graphically select a value by sliding
a knob within a bounded interval. The slider can show both major tick
marks and minor tick marks between them. The number of values between
the tick marks is controlled with setMajorTickSpacing and
setMinorTickSpacing.</li>
            </ul>
            </td>
          </tr>
          <tr>
            <td colspan="2" valign="top">
      <hr color="#c0c0c0" size="1">
            </td>
          </tr>
          <tr>
            <td valign="top">
      <img src="images/palette_swing_menus.gif" border="0" width="153" height="151">
            </td>
            <td valign="top" width="100%">
            <ul>
              <li><b>JMenuBar</b> - A menu bar.</li>
              <li><b>JPopupMenu</b> - A popup menu.</li>
              <li><b>JMenu</b> - Either a pull-down or cascaded menu.</li>
              <li><b>JMenuItem</b> - A simple menu item.</li>
              <li><b>JCheckBoxMenuItem</b> - A checkbox menu item.</li>
              <li><b>JRadioButtonMenuItem</b> - A radio button menu item.</li>
            </ul>
            </td>
          </tr>
          <tr>
            <td colspan="2" valign="top">
      <hr color="#c0c0c0" size="1">
            </td>
          </tr>
          <tr>
            <td valign="top">
      <img src="images/palette_awt_components.gif" border="0" width="153" height="261">
            </td>
            <td valign="top" width="100%">
            <ul>
              <li><b>Panel</b>
- Panel is the simplest container class. A panel provides space in
which an application can attach any other component, including other
panels.</li>
              <li><b>Canvas</b> - A Canvas component represents a blank 
				rectangular area of the screen onto which the application can 
				draw or from which the application can trap input events from 
				the user.</li>
              <li><b>ScrollPane</b> - A container class which implements automatic horizontal and/or vertical scrolling for a single child component.</li>
              <li><b>Button</b> - This class creates a labeled button. The application can cause some action to happen when the button is pushed.</li>
              <li><b>Label</b>
- A Label object is a component for placing text in a container. A
label displays a single line of read-only text. The text can be changed
by the application, but a user cannot edit itdirectly.</li>
              <li><b>Checkbox</b> - A check box is a graphical component that can be in either an
                "on" (true) or "off" (false) state. Clicking on a check box changes its state from
                "on" to "off", or from "off" to
                "on".</li>
              <li><b>Choice</b> - The Choice class presents a pop-up menu of choices. The current choice is displayed as the title of the menu.</li>
              <li><b>List</b>
- The List component presents the user with a scrolling list of text
items. The list can be set up so that the user can choose either one
item or multiple items.</li>
              <li><b>Scrollbar</b> - The
Scrollbar class embodies a scroll bar, a familiar user-interface
object. A scroll bar provides a convenient means for allowing a user to
select from a range of values.</li>
              <li><b>TextField</b> - A TextField object is a text component that allows for the editing of a single line of text.</li>
              <li><b>TextArea</b> - A TextArea object is a multi-line region that displays text. It can be set to allow editing or to be read-only.</li>
            </ul>
            </td>
          </tr>
        </tbody></table>
      </div>
    </td>
  </tr>
</tbody></table>

</body></html>